<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
	<head>
		<base href="<%=basePath%>">
		<meta charset="utf-8" />
		<link rel="stylesheet" href="front/css/normal.css">
    	<link rel="stylesheet" href="front/css/addBox.css">
	</head>
<body>
	<p class="addSlide-title">申请招聘信息<span>×</span></p>
	<form action="recruit/${msg }.do" name="Form" id="Form" method="post">
		<input type="hidden" name="recruit_id" id="recruit_id" value="${pd.recruit_id}"/>
		<ul class="addList">
			<li><span>申请人:</span><input type="text" readonly name="username" id="username" value="${pd.username}" maxlength="32"/></li>
			<li><span>用人部门:</span>
				<c:forEach items="${deptList}" var="department">
					<c:if test="${pd.department_id==department.departmentId}"><input readonly type="text" value="${department.departmentName }"/></c:if>
				</c:forEach>
			</li>
			<li><span>联系电话:</span><input type="text" name="recruit_phone" id="recruit_phone" value="${pd.recruit_phone}" maxlength="32"/></li>
			<li><span>招聘岗位:</span><input type="text" name="recruit_post" id="recruit_post" value="${pd.recruit_post}" maxlength="32"/></li>
			<li><span>招聘人数:</span><input type="text" name="recruit_number" id="recruit_number" value="${pd.recruit_number}" maxlength="32"/></li>
			<li><span>用人需求:</span><input type="text" name="recruit_require" id="recruit_require" value="${pd.recruit_require}" maxlength="32"/></li>
			<li><span>预计到岗时间:</span><input type="date" class="date" name="recruit_predicttime" id="recruit_predicttime" value="${pd.recruit_predicttime}"/></li>
	 	</ul>
		<p>
            <input type="button" onclick="cancel();" value="取消修改"  class='cancelSave'>
            <input type="button" onclick="save();" value="确认修改"  class='confirmSave'>
        </p>
	</form>
	<script src="front/js/jquery-2.0.3.min.js"></script>
	<script src="front/js/index.js"></script>

<script type="text/javascript">
	function cancel(){
		$('#zhongxin', parent.document).hide();
	}
	
	//保存
	function save(){
		$("#Form").submit();
		$("#zhongxin").hide();
		$("#zhongxin2").show();
	}
</script>
</body>
</html>